/***************************************************
// FileName: AngeloDevice.h
// ClassName: AngeloDevice
// Description: initialize and use Angelo card
// Author: xwt
// Date: 2009-10-10
****************************************************/

#if !defined(AFX_ANGELODEVICE_H__C70D66CE_71DE_4293_8EEF_39714905598F__INCLUDED_)
#define AFX_ANGELODEVICE_H__C70D66CE_71DE_4293_8EEF_39714905598F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define Max_Port 16

class AngeloDevice  
{
public:
	CRect m_rect;

public:
	void SetSubLineStyle(UINT nStyle,COLORREF clr);
	void SetCallbackParam(BOOL port1,int nOffX,int nOffY,BOOL bReverse=FALSE);
	void StopGrab(int nPort);
	int StartGrab(int nPort1,int nPort2);
	void SetVideoParam();
	void ReleaseDevice();
	int DeviceInit(CWnd* pWnd);
	AngeloDevice();
	virtual ~AngeloDevice();

};

#endif // !defined(AFX_ANGELODEVICE_H__C70D66CE_71DE_4293_8EEF_39714905598F__INCLUDED_)
